$title @a[team=$(win_team)] title {"text": "MISSION COMPLETED","color": "gold","bold": true}
$title @a[team=$(win_team)] subtitle {"text": "采矿作业完成!","color": "green","bold": true}
$execute as @a[team=$(win_team)] at @s run playsound minecraft:entity.player.levelup master @a[team=$(win_team)] ~ ~ ~ 10000 0

$title @a[team=$(fail_team)] title {"text": "MISSION FAILED","color": "red"}
$title @a[team=$(fail_team)] subtitle {"text": "任务失败了...","color": "gray"}
$execute as @a[team=$(fail_team)] at @s run playsound minecraft:entity.wither.spawn master @s ~ ~ ~ 10000 0